Glitz (software)

glitz
Developer(s) Peter Nilsson,
David Reveman
Stable release 0.5.6 / May 20, 2006
Written in C
Operating system Cross-platform
Type Graphics library
License MIT License
Website http://www.freedesktop.org/wiki/Software/glitz

Glitz is a software library for 2D graphics which provides hardware acceleration using OpenGL, an API for 3D graphics.[1] Glitz is open-source software, licensed under (an old variant of) the MIT License. Development is hosted at freedesktop.org, but has largely ceased.

Facilities provided

Glitz was designed to provide the same facilities as XRender:

As with XRender, the key operation that Glitz provides is Porter-Duff composition.

Glitz also provides some facilities that XRender does not:

All of this is implemented using OpenGL features such as multitexturing, shaders, vertex buffers, frame buffer objects. In fact, a substantial part of Glitz is a wrapper around OpenGL that allows the programmer to think in terms of "drawable surfaces" rather than windows, pbuffers or frame buffer objects.

Software that uses Glitz

Glitz is the key component of the Xgl X server, which used to be shipped with most Linux distributions. However, Xgl has now been mostly superseded by Accelerated Indirect GLX (AIGLX).[2]

The increasingly popular cairo graphics library supports Glitz as a backend, meaning that a few lines of code will enable any of the applications and toolkits which use cairo to take advantage of graphics hardware. However, glitz support in cairo has bitrotted and does not work for the 1.8.x versions of cairo.[3] Instead, future versions of Cairo will have an OpenGL backend.

References